package com.bruce.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher {

  private String tid;
  private String tname;
  private String tpassword;
  private String tsex;
  private String introduction;

  public Teacher(String tid, String tpassword) {
    this.tid = tid;
    this.tpassword = tpassword;
  }
}
